package com.medical.medical.mapper;

import com.medical.medical.entity.Record;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @authorDesc 古娜拉黑暗之神!
 * @author ChenLi
 * @date 2022-09-14 09:43:31
 * @version 1.0.0
 * @description 用户/患者数据访问层
 */
public interface RecordMapper {
    List<Record> getReport(@Param("id") int id,
                           @Param("start")int start,
                           @Param("pageSize")int pageSize);

    int getState(int id);

    Record viewByRecordOrdinal(long recordOrdinal);

    int getRecordAllCount(int id);
}
